package com.lqm.entity.home;

import javax.persistence.*;
import java.io.Serializable;

/**
 * @program: CrowdFunding
 * @description
 * @author: lqm
 * @create: 2018-12-13 20:52
 */
@Entity
@Table(name = "project_status", schema = "crowdfunding", catalog = "")
public class ProjectStatus  implements Serializable {

    private Integer statusId;

    private String name;

    public ProjectStatus(Integer statusId) {
        this.statusId = statusId;
    }

    public ProjectStatus() {
    }

    @Id
    @Column(name = "status_id", nullable = false)
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    public Integer getStatusId() {
        return statusId;
    }

    public void setStatusId(Integer statusId) {
        this.statusId = statusId;
    }
    @Basic
    @Column(name = "name")
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
